*************************Setup******************************
clear all

*** Specify custom path etc.
cd "C:\Replication (Food or Vote The Effects of Confucian Values on Support for Democracy)"

*******************Prepare the dataset**********************
**   - Input: Data/W5 (Rawdata- Pre-Imputation)
**   - Output: Data/W5 (Finaldata Pre-Imputation)
**But the "W5 (Finaldata Pre-Imputation)" file is not the final panel data, we use Python to do the missing data imputation, so the final panel is a file named "W5 (Finaldata Post-Imputation)"
************************************************************
run Program/Clean.do

********************************************************
*** 2. Analysis
**   - Data used: Data/W5 (Finaldata Post-Imputation)
**   - Output Directory: Results
********************************************************
run Program/Table_1.do
run Program/Table_2.do
run Program/Table_3.do
run Program/Table_4.do
run Program/Table_A2.do
run Program/Table_A3.do
run Program/FigureA5_TableA4-A6.do
run Program/FigureA2-A3.do
run Program/Table_A8.do
run Program/Table_A9.do